package user;

import book.BookList;
import opreation.IOpreation;

//父类
abstract  public class User {
    private String name;

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();
    public IOpreation[] iOpreations;
    public void doOpreation(int choice, BookList booklist) {
        (this.iOpreations[choice]).work(booklist);
    }
}
